package com.xteam.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport;
import org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.xteam.dao.inter.LoginDao;

public class LoginDaoImpl extends HibernateDaoSupport implements LoginDao {
private final  String  userIsExistsSql="selec user_id from user_info where user_name=?";
private Map<String, Object>  paramMap=null;
	public int islogin(String username,String password) {
		// TODO Auto-generated method stub
//		UserInfo info=new UserInfo();
		super.getHibernateTemplate().find("form UserInfo where UserInfo.name=?");
		 return 0;  
	}
	

}
